package com.bbs.dto;

import com.bbs.pojo.dto.UserDto;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PostPreviewDto {
    private String postId;
    private String title;
    private String content;
    private String userId;
    private Long commentCount;
    private LocalDateTime createTime;

    private UserDto user;
}
